<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: Stereo Correspondance Algorithms</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Stereo Correspondance Algorithms</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">cv::stereo::MatchQuasiDense</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/dfc/structcv_1_1stereo_1_1PropagationParameters.html">cv::stereo::PropagationParameters</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/df4/classcv_1_1stereo_1_1QuasiDenseStereo.html">cv::stereo::QuasiDenseStereo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Class containing the methods needed for Quasi Dense Stereo computation.  <a href="../../dc/df4/classcv_1_1stereo_1_1QuasiDenseStereo.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d8e/classcv_1_1stereo_1_1StereoBinaryBM.html">cv::stereo::StereoBinaryBM</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige.  <a href="../../d7/d8e/classcv_1_1stereo_1_1StereoBinaryBM.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d9f/classcv_1_1stereo_1_1StereoBinarySGBM.html">cv::stereo::StereoBinarySGBM</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The class implements the modified H. Hirschmuller algorithm <a class="el" href="../../d0/de3/citelist.html#CITEREF_HH08">[112]</a> that differs from the original one as follows:  <a href="../../d1/d9f/classcv_1_1stereo_1_1StereoBinarySGBM.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d07/classcv_1_1stereo_1_1StereoMatcher.html">cv::stereo::StereoMatcher</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Filters off small noise blobs (speckles) in the disparity map.  <a href="../../d9/d07/classcv_1_1stereo_1_1StereoMatcher.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga0316af1df7908b2fb741f282dcb2ae74"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
  <a class="el" href="../../dd/d86/group__stereo.html#gga0316af1df7908b2fb741f282dcb2ae74ad3a671c26e45b96aca07a4562d9b9db7">cv::stereo::CV_SPECKLE_REMOVAL_ALGORITHM</a>, 
<br/>
  <a class="el" href="../../dd/d86/group__stereo.html#gga0316af1df7908b2fb741f282dcb2ae74ad2b1bbe8c716a18472feab8784695f5d">cv::stereo::CV_SPECKLE_REMOVAL_AVG_ALGORITHM</a>
<br/>
 }<tr class="memdesc:ga0316af1df7908b2fb741f282dcb2ae74"><td class="mdescLeft"> </td><td class="mdescRight">speckle removal algorithms. These algorithms have the purpose of removing small regions  <a href="../../dd/d86/group__stereo.html#ga0316af1df7908b2fb741f282dcb2ae74">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:ga0316af1df7908b2fb741f282dcb2ae74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5bfb3835151f6cced4c03aaa2b85422a"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
  <a class="el" href="../../dd/d86/group__stereo.html#gga5bfb3835151f6cced4c03aaa2b85422aa9b1155a0c2c6722aa9e41c4c4d4c0a58">cv::stereo::CV_QUADRATIC_INTERPOLATION</a>, 
<br/>
  <a class="el" href="../../dd/d86/group__stereo.html#gga5bfb3835151f6cced4c03aaa2b85422aa44f645f3eb948edfd55a5c9bb73dbd82">cv::stereo::CV_SIMETRICV_INTERPOLATION</a>
<br/>
 }<tr class="memdesc:ga5bfb3835151f6cced4c03aaa2b85422a"><td class="mdescLeft"> </td><td class="mdescRight">subpixel interpolationm methods for disparities.  <a href="../../dd/d86/group__stereo.html#ga5bfb3835151f6cced4c03aaa2b85422a">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:ga5bfb3835151f6cced4c03aaa2b85422a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaeee2332b0650a96ec8eec371cbce7643"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gaeee2332b0650a96ec8eec371cbce7643">cv::stereo::MatchQuasiDense::MatchQuasiDense</a> ()</td></tr>
<tr class="separator:gaeee2332b0650a96ec8eec371cbce7643"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7b6824f2d058075b9386051258451397"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga7b6824f2d058075b9386051258451397">cv::stereo::QuasiDenseStereo::~QuasiDenseStereo</a> ()=0</td></tr>
<tr class="memdesc:ga7b6824f2d058075b9386051258451397"><td class="mdescLeft"> </td><td class="mdescRight">destructor Method to free all the memory allocated by matrices and vectors in this class.  <a href="#ga7b6824f2d058075b9386051258451397">More...</a><br/></td></tr>
<tr class="separator:ga7b6824f2d058075b9386051258451397"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga67a1543e567dbfaa0b05630951caac2b"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt; <a class="el" href="../../dc/df4/classcv_1_1stereo_1_1QuasiDenseStereo.html">QuasiDenseStereo</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga67a1543e567dbfaa0b05630951caac2b">cv::stereo::QuasiDenseStereo::create</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a> monoImgSize, <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> paramFilepath=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a>())</td></tr>
<tr class="separator:ga67a1543e567dbfaa0b05630951caac2b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae0555fac91d17151126d9366bedd2076"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gae0555fac91d17151126d9366bedd2076">cv::stereo::QuasiDenseStereo::getDenseMatches</a> (std::vector&lt; <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &gt; &amp;denseMatches)=0</td></tr>
<tr class="memdesc:gae0555fac91d17151126d9366bedd2076"><td class="mdescLeft"> </td><td class="mdescRight">Get The dense corresponding points.  <a href="#gae0555fac91d17151126d9366bedd2076">More...</a><br/></td></tr>
<tr class="separator:gae0555fac91d17151126d9366bedd2076"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4fc5dfb470181b039d29200457e317a3"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga4fc5dfb470181b039d29200457e317a3">cv::stereo::QuasiDenseStereo::getDisparity</a> ()=0</td></tr>
<tr class="memdesc:ga4fc5dfb470181b039d29200457e317a3"><td class="mdescLeft"> </td><td class="mdescRight">Compute and return the disparity map based on the correspondences found in the "process" method.  <a href="#ga4fc5dfb470181b039d29200457e317a3">More...</a><br/></td></tr>
<tr class="separator:ga4fc5dfb470181b039d29200457e317a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8db5b6611adf174b1421760cf755c7f0"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">cv::Point2f</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga8db5b6611adf174b1421760cf755c7f0">cv::stereo::QuasiDenseStereo::getMatch</a> (const int x, const int y)=0</td></tr>
<tr class="memdesc:ga8db5b6611adf174b1421760cf755c7f0"><td class="mdescLeft"> </td><td class="mdescRight">Specify pixel coordinates in the left image and get its corresponding location in the right image.  <a href="#ga8db5b6611adf174b1421760cf755c7f0">More...</a><br/></td></tr>
<tr class="separator:ga8db5b6611adf174b1421760cf755c7f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0e880bb85a06ab714ee9e0a45abd71fb"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga0e880bb85a06ab714ee9e0a45abd71fb">cv::stereo::QuasiDenseStereo::getSparseMatches</a> (std::vector&lt; <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &gt; &amp;sMatches)=0</td></tr>
<tr class="memdesc:ga0e880bb85a06ab714ee9e0a45abd71fb"><td class="mdescLeft"> </td><td class="mdescRight">Get The sparse corresponding points.  <a href="#ga0e880bb85a06ab714ee9e0a45abd71fb">More...</a><br/></td></tr>
<tr class="separator:ga0e880bb85a06ab714ee9e0a45abd71fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9dc72c2a623574a50d553d3b2ffd4e52"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga9dc72c2a623574a50d553d3b2ffd4e52">cv::stereo::QuasiDenseStereo::loadParameters</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> filepath)=0</td></tr>
<tr class="memdesc:ga9dc72c2a623574a50d553d3b2ffd4e52"><td class="mdescLeft"> </td><td class="mdescRight">Load a file containing the configuration parameters of the class.  <a href="#ga9dc72c2a623574a50d553d3b2ffd4e52">More...</a><br/></td></tr>
<tr class="separator:ga9dc72c2a623574a50d553d3b2ffd4e52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga77d57f89b82137970c0c5a2dfb72532e"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga77d57f89b82137970c0c5a2dfb72532e">cv::stereo::MatchQuasiDense::operator&lt;</a> (const <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &amp;rhs) const</td></tr>
<tr class="separator:ga77d57f89b82137970c0c5a2dfb72532e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5644f68f1105873b1678e0ba81d89988"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga5644f68f1105873b1678e0ba81d89988">cv::stereo::QuasiDenseStereo::process</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp;imgLeft, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp;imgRight)=0</td></tr>
<tr class="memdesc:ga5644f68f1105873b1678e0ba81d89988"><td class="mdescLeft"> </td><td class="mdescRight">Main process of the algorithm. This method computes the sparse seeds and then densifies them.  <a href="#ga5644f68f1105873b1678e0ba81d89988">More...</a><br/></td></tr>
<tr class="separator:ga5644f68f1105873b1678e0ba81d89988"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga99cc0835ce4896151100e751ae6b529a"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga99cc0835ce4896151100e751ae6b529a">cv::stereo::QuasiDenseStereo::saveParameters</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> filepath)=0</td></tr>
<tr class="memdesc:ga99cc0835ce4896151100e751ae6b529a"><td class="mdescLeft"> </td><td class="mdescRight">Save a file containing all the configuration parameters the class is currently set to.  <a href="#ga99cc0835ce4896151100e751ae6b529a">More...</a><br/></td></tr>
<tr class="separator:ga99cc0835ce4896151100e751ae6b529a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga1b12735d5c7b0dc2348af07f0bb1d53e"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga1b12735d5c7b0dc2348af07f0bb1d53e">cv::stereo::PropagationParameters::borderX</a></td></tr>
<tr class="separator:ga1b12735d5c7b0dc2348af07f0bb1d53e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6f31e4ba1dc21b23946f55075f443b9b"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga6f31e4ba1dc21b23946f55075f443b9b">cv::stereo::PropagationParameters::borderY</a></td></tr>
<tr class="separator:ga6f31e4ba1dc21b23946f55075f443b9b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabe9514bb137fa642984f6bcd7afb49c2"><td align="right" class="memItemLeft" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gabe9514bb137fa642984f6bcd7afb49c2">cv::stereo::MatchQuasiDense::corr</a></td></tr>
<tr class="separator:gabe9514bb137fa642984f6bcd7afb49c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabcfaaffa086614f85be49ceddcad328f"><td align="right" class="memItemLeft" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gabcfaaffa086614f85be49ceddcad328f">cv::stereo::PropagationParameters::correlationThreshold</a></td></tr>
<tr class="separator:gabcfaaffa086614f85be49ceddcad328f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga70b71f71badb30717fbf5aeaa0d30a2f"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga70b71f71badb30717fbf5aeaa0d30a2f">cv::stereo::PropagationParameters::corrWinSizeX</a></td></tr>
<tr class="separator:ga70b71f71badb30717fbf5aeaa0d30a2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga793edfcbae69a2fb3222d83b87add541"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga793edfcbae69a2fb3222d83b87add541">cv::stereo::PropagationParameters::corrWinSizeY</a></td></tr>
<tr class="separator:ga793edfcbae69a2fb3222d83b87add541"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6018bf3e2a2ed2a3335ba25ccbcddf66"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga6018bf3e2a2ed2a3335ba25ccbcddf66">cv::stereo::PropagationParameters::disparityGradient</a></td></tr>
<tr class="separator:ga6018bf3e2a2ed2a3335ba25ccbcddf66"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafd41afbf6bf79d85faa259ac45a962c0"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gafd41afbf6bf79d85faa259ac45a962c0">cv::stereo::PropagationParameters::gftMaxNumFeatures</a></td></tr>
<tr class="separator:gafd41afbf6bf79d85faa259ac45a962c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9aaa746ddc3b06ba4e04090dadc81e8c"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga9aaa746ddc3b06ba4e04090dadc81e8c">cv::stereo::PropagationParameters::gftMinSeperationDist</a></td></tr>
<tr class="separator:ga9aaa746ddc3b06ba4e04090dadc81e8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae27d41a9c624f6e11787790c7394c2f8"><td align="right" class="memItemLeft" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gae27d41a9c624f6e11787790c7394c2f8">cv::stereo::PropagationParameters::gftQualityThres</a></td></tr>
<tr class="separator:gae27d41a9c624f6e11787790c7394c2f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga59b5126cf58c191527c64234a54b876b"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga59b5126cf58c191527c64234a54b876b">cv::stereo::PropagationParameters::lkPyrLvl</a></td></tr>
<tr class="separator:ga59b5126cf58c191527c64234a54b876b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga894232404cc4ce4b8bac3bb0f3893362"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga894232404cc4ce4b8bac3bb0f3893362">cv::stereo::PropagationParameters::lkTemplateSize</a></td></tr>
<tr class="separator:ga894232404cc4ce4b8bac3bb0f3893362"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0d3863109d84b3699a19da1fac633029"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga0d3863109d84b3699a19da1fac633029">cv::stereo::PropagationParameters::lkTermParam1</a></td></tr>
<tr class="separator:ga0d3863109d84b3699a19da1fac633029"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5e19e65ee5209dda3ad2bb342a3fc5a2"><td align="right" class="memItemLeft" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga5e19e65ee5209dda3ad2bb342a3fc5a2">cv::stereo::PropagationParameters::lkTermParam2</a></td></tr>
<tr class="separator:ga5e19e65ee5209dda3ad2bb342a3fc5a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga04de023c439445416bf5290acd5fdb9b"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga04de023c439445416bf5290acd5fdb9b">cv::stereo::PropagationParameters::neighborhoodSize</a></td></tr>
<tr class="separator:ga04de023c439445416bf5290acd5fdb9b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaeae07b912c7a93d41d2b740ab651888d"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">cv::Point2i</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gaeae07b912c7a93d41d2b740ab651888d">cv::stereo::MatchQuasiDense::p0</a></td></tr>
<tr class="separator:gaeae07b912c7a93d41d2b740ab651888d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga85b632590eef86f4aa963c195236fd7e"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">cv::Point2i</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#ga85b632590eef86f4aa963c195236fd7e">cv::stereo::MatchQuasiDense::p1</a></td></tr>
<tr class="separator:ga85b632590eef86f4aa963c195236fd7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaca27dc931e295b733e740c3601f697a6"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../de/dfc/structcv_1_1stereo_1_1PropagationParameters.html">PropagationParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gaca27dc931e295b733e740c3601f697a6">cv::stereo::QuasiDenseStereo::Param</a></td></tr>
<tr class="separator:gaca27dc931e295b733e740c3601f697a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaf28b006567c18b80ffc2ce1a15e10cb"><td align="right" class="memItemLeft" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d86/group__stereo.html#gaaf28b006567c18b80ffc2ce1a15e10cb">cv::stereo::PropagationParameters::textrureThreshold</a></td></tr>
<tr class="separator:gaaf28b006567c18b80ffc2ce1a15e10cb"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga0316af1df7908b2fb741f282dcb2ae74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0316af1df7908b2fb741f282dcb2ae74">◆ </a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d42/contrib_2modules_2stereo_2include_2opencv2_2stereo_8hpp.html">opencv2/stereo.hpp</a>&gt;</code></p>
<p>speckle removal algorithms. These algorithms have the purpose of removing small regions </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga0316af1df7908b2fb741f282dcb2ae74ad3a671c26e45b96aca07a4562d9b9db7"></a>CV_SPECKLE_REMOVAL_ALGORITHM <div class="python_language">Python: cv.stereo.CV_SPECKLE_REMOVAL_ALGORITHM</div></td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="gga0316af1df7908b2fb741f282dcb2ae74ad2b1bbe8c716a18472feab8784695f5d"></a>CV_SPECKLE_REMOVAL_AVG_ALGORITHM <div class="python_language">Python: cv.stereo.CV_SPECKLE_REMOVAL_AVG_ALGORITHM</div></td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<a id="ga5bfb3835151f6cced4c03aaa2b85422a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5bfb3835151f6cced4c03aaa2b85422a">◆ </a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/d42/contrib_2modules_2stereo_2include_2opencv2_2stereo_8hpp.html">opencv2/stereo.hpp</a>&gt;</code></p>
<p>subpixel interpolationm methods for disparities. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga5bfb3835151f6cced4c03aaa2b85422aa9b1155a0c2c6722aa9e41c4c4d4c0a58"></a>CV_QUADRATIC_INTERPOLATION <div class="python_language">Python: cv.stereo.CV_QUADRATIC_INTERPOLATION</div></td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="gga5bfb3835151f6cced4c03aaa2b85422aa44f645f3eb948edfd55a5c9bb73dbd82"></a>CV_SIMETRICV_INTERPOLATION <div class="python_language">Python: cv.stereo.CV_SIMETRICV_INTERPOLATION</div></td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaeee2332b0650a96ec8eec371cbce7643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeee2332b0650a96ec8eec371cbce7643">◆ </a></span>MatchQuasiDense()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::stereo::MatchQuasiDense::MatchQuasiDense </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga7b6824f2d058075b9386051258451397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7b6824f2d058075b9386051258451397">◆ </a></span>~QuasiDenseStereo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::stereo::QuasiDenseStereo::~QuasiDenseStereo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>destructor Method to free all the memory allocated by matrices and vectors in this class. </p>
</div>
</div>
<a id="ga67a1543e567dbfaa0b05630951caac2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67a1543e567dbfaa0b05630951caac2b">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt;<a class="el" href="../../dc/df4/classcv_1_1stereo_1_1QuasiDenseStereo.html">QuasiDenseStereo</a>&gt; cv::stereo::QuasiDenseStereo::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a> </td>
          <td class="paramname"><em>monoImgSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td>
          <td class="paramname"><em>paramFilepath</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.stereo.QuasiDenseStereo_create(</td><td class="paramname">monoImgSize[, paramFilepath]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gae0555fac91d17151126d9366bedd2076"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0555fac91d17151126d9366bedd2076">◆ </a></span>getDenseMatches()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::stereo::QuasiDenseStereo::getDenseMatches </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &gt; &amp; </td>
          <td class="paramname"><em>denseMatches</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>denseMatches</td><td>=</td><td>cv.stereo_QuasiDenseStereo.getDenseMatches(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Get The dense corresponding points. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">denseMatches</td><td>A vector containing all dense matches. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The method clears the denseMatches vector. </dd>
<dd>
The returned Match elements inside the sMatches vector, do not use corr member. </dd></dl>
</div>
</div>
<a id="ga4fc5dfb470181b039d29200457e317a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4fc5dfb470181b039d29200457e317a3">◆ </a></span>getDisparity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> cv::stereo::QuasiDenseStereo::getDisparity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.stereo_QuasiDenseStereo.getDisparity(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Compute and return the disparity map based on the correspondences found in the "process" method. </p>
<dl class="section note"><dt>Note</dt><dd>Default level is 50 </dd></dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">cv::Mat</a> containing a the disparity image in grayscale. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>computeDisparity </dd>
<dd>
quantizeDisparity </dd></dl>
</div>
</div>
<a id="ga8db5b6611adf174b1421760cf755c7f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8db5b6611adf174b1421760cf755c7f0">◆ </a></span>getMatch()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">cv::Point2f</a> cv::stereo::QuasiDenseStereo::getMatch </td>
          <td>(</td>
          <td class="paramtype">const int </td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int </td>
          <td class="paramname"><em>y</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.stereo_QuasiDenseStereo.getMatch(</td><td class="paramname">x, y</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Specify pixel coordinates in the left image and get its corresponding location in the right image. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The x pixel coordinate in the left image channel. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The y pixel coordinate in the left image channel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">cv::Point(x,y)</td><td>The location of the corresponding pixel in the right image. </td></tr>
    <tr><td class="paramname">cv::Point(0,0)</td><td>(NO_MATCH) if no match is found in the right image for the specified pixel location in the left image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This method should be always called after process, otherwise the matches will not be correct. </dd></dl>
</div>
</div>
<a id="ga0e880bb85a06ab714ee9e0a45abd71fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e880bb85a06ab714ee9e0a45abd71fb">◆ </a></span>getSparseMatches()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::stereo::QuasiDenseStereo::getSparseMatches </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &gt; &amp; </td>
          <td class="paramname"><em>sMatches</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>sMatches</td><td>=</td><td>cv.stereo_QuasiDenseStereo.getSparseMatches(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Get The sparse corresponding points. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">sMatches</td><td>A vector containing all sparse correspondences. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The method clears the sMatches vector. </dd>
<dd>
The returned Match elements inside the sMatches vector, do not use corr member. </dd></dl>
</div>
</div>
<a id="ga9dc72c2a623574a50d553d3b2ffd4e52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9dc72c2a623574a50d553d3b2ffd4e52">◆ </a></span>loadParameters()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::stereo::QuasiDenseStereo::loadParameters </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td>
          <td class="paramname"><em>filepath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.stereo_QuasiDenseStereo.loadParameters(</td><td class="paramname">filepath</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Load a file containing the configuration parameters of the class. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filepath</td><td>The location of the .YAML file containing the configuration parameters. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>default value is an empty string in which case the default parameters will be loaded. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">1</td><td>If the path is not empty and the program loaded the parameters successfully. </td></tr>
    <tr><td class="paramname">0</td><td>If the path is empty and the program loaded default parameters. </td></tr>
    <tr><td class="paramname">-1</td><td>If the file location is not valid or the program could not open the file and loaded default parameters from defaults.hpp. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The method is automatically called in the constructor and configures the class. </dd>
<dd>
Loading different parameters will have an effect on the output. This is useful for tuning in case of video processing. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/d86/group__stereo.html#ga9dc72c2a623574a50d553d3b2ffd4e52" title="Load a file containing the configuration parameters of the class. ">loadParameters</a> </dd></dl>
</div>
</div>
<a id="ga77d57f89b82137970c0c5a2dfb72532e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77d57f89b82137970c0c5a2dfb72532e">◆ </a></span>operator&lt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::stereo::MatchQuasiDense::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d1/dbe/structcv_1_1stereo_1_1MatchQuasiDense.html">MatchQuasiDense</a> &amp; </td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga5644f68f1105873b1678e0ba81d89988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5644f68f1105873b1678e0ba81d89988">◆ </a></span>process()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::stereo::QuasiDenseStereo::process </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp; </td>
          <td class="paramname"><em>imgLeft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp; </td>
          <td class="paramname"><em>imgRight</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.stereo_QuasiDenseStereo.process(</td><td class="paramname">imgLeft, imgRight</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Main process of the algorithm. This method computes the sparse seeds and then densifies them. </p>
<p>Initially input images are converted to gray-scale and then the sparseMatching method is called to obtain the sparse stereo. Finally quasiDenseMatching is called to densify the corresponding points. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">imgLeft</td><td>The left Channel of a stereo image pair. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">imgRight</td><td>The right Channel of a stereo image pair. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If input images are in color, the method assumes that are BGR and converts them to grayscale. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>sparseMatching </dd>
<dd>
quasiDenseMatching </dd></dl>
</div>
</div>
<a id="ga99cc0835ce4896151100e751ae6b529a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga99cc0835ce4896151100e751ae6b529a">◆ </a></span>saveParameters()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::stereo::QuasiDenseStereo::saveParameters </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td>
          <td class="paramname"><em>filepath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.stereo_QuasiDenseStereo.saveParameters(</td><td class="paramname">filepath</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../df/d21/quasi__dense__stereo_8hpp.html">opencv2/stereo/quasi_dense_stereo.hpp</a>&gt;</code></p>
<p>Save a file containing all the configuration parameters the class is currently set to. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filepath</td><td>The location to store the parameters file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Calling this method with no arguments will result in storing class parameters to a file names "qds_parameters.yaml" in the root project folder. </dd>
<dd>
This method can be used to generate a template file for tuning the class. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/d86/group__stereo.html#ga9dc72c2a623574a50d553d3b2ffd4e52" title="Load a file containing the configuration parameters of the class. ">loadParameters</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ga1b12735d5c7b0dc2348af07f0bb1d53e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b12735d5c7b0dc2348af07f0bb1d53e">◆ </a></span>borderX</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::borderX</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga6f31e4ba1dc21b23946f55075f443b9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f31e4ba1dc21b23946f55075f443b9b">◆ </a></span>borderY</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::borderY</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gabe9514bb137fa642984f6bcd7afb49c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabe9514bb137fa642984f6bcd7afb49c2">◆ </a></span>corr</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::stereo::MatchQuasiDense::corr</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gabcfaaffa086614f85be49ceddcad328f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabcfaaffa086614f85be49ceddcad328f">◆ </a></span>correlationThreshold</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::stereo::PropagationParameters::correlationThreshold</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga70b71f71badb30717fbf5aeaa0d30a2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70b71f71badb30717fbf5aeaa0d30a2f">◆ </a></span>corrWinSizeX</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::corrWinSizeX</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga793edfcbae69a2fb3222d83b87add541"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga793edfcbae69a2fb3222d83b87add541">◆ </a></span>corrWinSizeY</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::corrWinSizeY</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga6018bf3e2a2ed2a3335ba25ccbcddf66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6018bf3e2a2ed2a3335ba25ccbcddf66">◆ </a></span>disparityGradient</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::disparityGradient</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gafd41afbf6bf79d85faa259ac45a962c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafd41afbf6bf79d85faa259ac45a962c0">◆ </a></span>gftMaxNumFeatures</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::gftMaxNumFeatures</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga9aaa746ddc3b06ba4e04090dadc81e8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9aaa746ddc3b06ba4e04090dadc81e8c">◆ </a></span>gftMinSeperationDist</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::gftMinSeperationDist</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gae27d41a9c624f6e11787790c7394c2f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae27d41a9c624f6e11787790c7394c2f8">◆ </a></span>gftQualityThres</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::stereo::PropagationParameters::gftQualityThres</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga59b5126cf58c191527c64234a54b876b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59b5126cf58c191527c64234a54b876b">◆ </a></span>lkPyrLvl</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::lkPyrLvl</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga894232404cc4ce4b8bac3bb0f3893362"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga894232404cc4ce4b8bac3bb0f3893362">◆ </a></span>lkTemplateSize</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::lkTemplateSize</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga0d3863109d84b3699a19da1fac633029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d3863109d84b3699a19da1fac633029">◆ </a></span>lkTermParam1</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::lkTermParam1</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga5e19e65ee5209dda3ad2bb342a3fc5a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e19e65ee5209dda3ad2bb342a3fc5a2">◆ </a></span>lkTermParam2</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::stereo::PropagationParameters::lkTermParam2</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga04de023c439445416bf5290acd5fdb9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga04de023c439445416bf5290acd5fdb9b">◆ </a></span>neighborhoodSize</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::stereo::PropagationParameters::neighborhoodSize</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gaeae07b912c7a93d41d2b740ab651888d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeae07b912c7a93d41d2b740ab651888d">◆ </a></span>p0</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">cv::Point2i</a> cv::stereo::MatchQuasiDense::p0</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ga85b632590eef86f4aa963c195236fd7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85b632590eef86f4aa963c195236fd7e">◆ </a></span>p1</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga0f70b52f0c0b119f7ed2448ffebdc144">cv::Point2i</a> cv::stereo::MatchQuasiDense::p1</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gaca27dc931e295b733e740c3601f697a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaca27dc931e295b733e740c3601f697a6">◆ </a></span>Param</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfc/structcv_1_1stereo_1_1PropagationParameters.html">PropagationParameters</a> cv::stereo::QuasiDenseStereo::Param</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="gaaf28b006567c18b80ffc2ce1a15e10cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaf28b006567c18b80ffc2ce1a15e10cb">◆ </a></span>textrureThreshold</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::stereo::PropagationParameters::textrureThreshold</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
